package com.powergisol.gis.dao;

import com.powergisol.gis.entity.TabDataSetting;
import com.powergisol.gis.entity.TabPipeStaticColor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TabPipeStaticColorMapper {
    int deleteByPrimaryKey(Integer id);

    int insertBatch(@Param("records") List<TabPipeStaticColor> records);

    int insertSelective(TabPipeStaticColor record);

    TabPipeStaticColor selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TabPipeStaticColor record);

    int updateByPrimaryKey(TabPipeStaticColor record);

    List<TabPipeStaticColor> selectAll(@Param("settingId") Integer settingId);
}